import request from "@/utils/request.js";
import {API} from '@/config/app.js'
/**
 * 获取微信配置
 */
export function wxConfig(data) {
	return request.get(`${API}/client/wechat/js/config`, data, {
		noAuth: true,
		noVerify:true
	});
}
//微信登录
export function wxLogin(data) {
	return request.post(`${API}/client/login`, data, {
		noAuth: true,
		noVerify:true
	});
}
//上传
export function uploadFile(data) {
	return request.post(`${API}/client/file/oss/upload`, data);
}
